package com.enjoyor.soa.traffic.rest.efoms.dubbo.invoke;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.enjoyor.soa.traffic.api.uums2.service.dubbo.DubboTokenService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@Component
public class DubboUumsServiceInvoke {

	 @Reference(timeout = 3000)
	 private  DubboTokenService tokenService;
	 
	 public ResultPojo getResultPojo(String token,String systemKey){
		 ResultPojo pojo = tokenService.loginOut(token, systemKey);
		 return pojo;
	 }
}
